package com.smartalarmclock.Model;

import java.util.Set;

import android.content.Context;

public interface IGroup extends IContact, IReferencingMultipleDataEntity {

	/**
	 * @return the group name
	 */
	public String GetName();
	
	/**
	 * Sets the group's name
	 * @param name the new group name
	 */
	public void SetName(String name);
	
	/**
	 * @param context the context of the request
	 * @return a set of the group's contact list
	 */
	public Set<IContact> GetContacts(Context context);
	
	/**
	 * Adds a contact to the group
	 * @param context the context of the request
	 * @param contact the contact to add
	 */
	public void AddContact(Context context, IContact contact);
	
	/**
	 * Removes a contact from the group
	 * @param context the context of the request
	 * @param contact the contact to remove
	 */
	public void RemoveContact(Context context, IContact contact);
}
